package net.sppan.blog.store;

import net.sppan.blog.model.Config;

public class ConfigStore {

	private ConfigStore() {

	}

	public static final ConfigStore instance = new ConfigStore();

	private Config config;

	public void init() {
		Config c = Config.dao.findFirst("select * from sys_config");
		this.config = c;
	}

	public Config getConfig() {
		return config;
	}

}
